Quantitative And Qualitative Evaluation Of Metrics On Object Graphs Extracted By Abstract Interpretation
نویسندگان
چکیده
syntax. A portion of the abstract syntax for Ownership Domains is presented (Figure 2.2), focusing on class declarations, field declarations, expressions e.g., method invocations, field reads and field writes. The meta-variable C ranges over class names; T ranges over types; f ranges over fields; v ranges over values; d ranges over domain names; and p ranges over formal domain parameters, actual domains, or domain SHARED. An overbar over the meta-variable represents a sequence. 7 cdef ::= class C<α, β> extends C <α> { dom; T f ; md} dom ::= [public] domain d; md ::= TR m(T x) Tthis {ret = eR; return eR; } e ::= x = new C(e) | x = r.m(e) | x = y.f | x.f = y . . . n ::= x | v | r | y p ::= α | n.d | SHARED T ::= C v, l ∈ locations Figure 2.2: Portions of the Ownership Domains abstract syntax [3]. A class is parameterized by a list of domain parameters, and extends another class that has a subsequence of its domain parameters. A type T is a class name and a set of actual domain parameters C. The first domain parameter of a class is its owning domain followed by other domain parameters. Data types. The internal representation of an OOG is an OGraph. The OGraph has two types of nodes: the OObjects referred to by the meta-variable O and the ODomains referred to by the meta-variable D. Two OObjects may be connected by OEdges referred to by the meta-variable E and can represent points-to, or dataflow relations. An OObject is represented using the tuple 〈A,D1, D2〉. The tuple represents an abstract object of type A whose owning domain is D1; D2 is a domain that the object has access to, i.e., it references objects from that domain. By having abstract objects of the form 〈C,D1, D2〉, the OOG distinguishes different abstract objects of the same type C that are in different owning domains or that have the same owning domain but different other domains that the object has access to. The ODomain represents an abstraction of a runtime domain, one domain declaration D in a type C can correspond to multiple ODomains Di in the OGraph. The static analysis computes an abstract object of type C in some domain D based on mapping the formal domain parameters in the code to domains that may be declared by other types Ci.
منابع مشابه
Are Object Graphs Extracted Using Abstract Interpretation Significantly Different from the Code? (Extended Version)
To evolve object-oriented code, one must understand both the code structure in terms of classes, and the runtime structure in terms of abstractions of objects that are being created and relations between those objects. To help with this understanding, static program analysis can extract heap abstractions such as object graphs. But the extracted graphs can become too large if they do not suffici...
متن کاملOil Extraction from Millet Seed – Chemical Evaluation of Extracted Oil
ABSTRACT: The object of this study is to extract the oil from millets and evaluate the chemical properties of the extracted oil. Commercial millet oil was obtained by cold solvent extraction adopting soxhlet procedure. Quantitative and qualitative tests concerned with the non-saponifiable matter, fatty acid composition, phosphorus content representing total phospholipids, refractive index, pero...
متن کاملMetrics and Evaluation Tools for Patient Engagement in Healthcare Organization- and System-Level Decision-Making: A Systematic Review
Background Patient, public, consumer, and community (P2C2) engagement in organization-, community-, and systemlevel healthcare decision-making is increasing globally, but its formal evaluation remains challenging. To define a taxonomy of possible P2C2 engagement metrics and compare existing evaluation tools against this taxonomy, we conducted a systematic review. Methods A broad search strate...
متن کاملEvaluation of Changes in Fatty Acid Composition in Three Different Varieties of Olives During the Course of Maturation
ABSTRACT: Olives belong to the family of olea europaea L. is a popular fruit tree. The fruit and the oil extracted from it is consumed worldwide particularly in the Mediterranean regions. In this study changes in the fatty acid composition of the oil extracted from olive fruit during the course of maturation is investigated. This work is concerned with the best harvesting point when oleic acid ...
متن کاملExtending the Qualitative Trajectory Calculus Based on the Concept of Accessibility of Moving Objects in the Paths
Qualitative spatial representation and reasoning are among the important capabilities in intelligent geospatial information system development. Although a large contribution to the study of moving objects has been attributed to the quantitative use and analysis of data, such calculations are ineffective when there is little inaccurate data on position and geometry or when explicitly explaining ...
متن کامل